<template>
    <div class="weather-wrapper">
        <div class="weather-top">
            <el-tag type="success" color="black" size="medium" effect="light">气象信息</el-tag>
        </div>
        <div class="weather-center">
            <dv-scroll-board :config="config" style="width:auto;height:5.8rem"/>
        </div>
    </div>
</template>

<script>
    export default {
        name: "weather",
        data(){
            return{
                config:{
                    data: [
                        ['空气温度', '--------'],
                        ['空气湿度', '--------'],
                        ['风速风向', '--------'],
                        ['光照强度', '--------'],
                        ['降水量', '--------'],
                    ],
                    index:true,
                    columnWidth:[50]
                }
            }
        },
        methods:{
            axiosInfor(){

            }
        }
    }
</script>

<style scoped lang="scss">
    .weather-wrapper{
        height: 5.8rem;
        .weather-center{
            height: 5rem;
        }
    }
</style>
